package com.summer.campussct.mapper;

import com.summer.campussct.pojo.RolePermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色权限关系吧 Mapper 接口
 * </p>
 *
 * @author Mr.Chen
 * @since 2024-05-12
 */
public interface RolePermissionMapper extends BaseMapper<RolePermission> {

    List<Integer> getIdList(long id);

    void inserBatch(@Param("rolePermissionList") List<RolePermission> rolePermissionList);
}
